﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_ProductInfoEdit.aspx.cs"
    Inherits="SaleSystem.BaseData.frm_ProductInfoEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>产品编辑</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <ext:PageManager runat="server" ID="PageManager1" />
        <ext:Panel runat="server" ID="plContent" Layout="Fit" ShowBorder="false" ShowHeader="false"
            BodyPadding="5px" EnableBackgroundColor="true" AutoHeight="true" Height="465px">
            <Toolbars>
                <ext:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <ext:Button runat="server" ID="bnSave" Icon="SystemSave" Text="保存" ValidateForms="SimpleForm1"
                            OnClick="bnSave_Click">
                        </ext:Button>
                        <ext:Button runat="server" ID="bnMore" Icon="Coins" Text="更多" >
                        </ext:Button>
                        <ext:Button runat="server" ID="bnClose" Icon="SystemClose" Text="关闭">
                        </ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm runat="server" ID="SimpleForm1" AutoHeight="true" AutoScroll="true"
                    EnableBackgroundColor="true" ShowBorder="true" ShowHeader="false" BodyPadding="5px">
                    <Items>
                        <ext:DropDownList runat="server" ID="ddl_PInfo_PSort_ID" Label="产品类别" Width="200px"
                            Required="true" CompareValue="-1" CompareOperator="NotEqual" ShowRedStar="true"
                            DataTextField="PSort_Name" DataValueField="PSort_ID" EnableSimulateTree="true"
                            DataSimulateTreeLevelField="ilevel">
                        </ext:DropDownList>
                        <ext:TextBox runat="server" ID="tb_PInfo_Code" Label="产品编码" Width="200px" Required="true"
                            ShowRedStar="true" MaxLength="100">
                        </ext:TextBox>
                        <ext:TextBox runat="server" ID="tb_PInfo_Name" Label="产品名称" Width="200px" Required="true"
                            ShowRedStar="true" MaxLength="100">
                        </ext:TextBox>
                        <ext:TextBox runat="server" ID="tb_PInfo_Number" Label="号码" Width="200px" MaxLength="100">
                        </ext:TextBox>
                        <ext:TextBox runat="server" ID="tb_PInfo_Pwd" Label="密码" Width="200px" MaxLength="100">
                        </ext:TextBox>
                        <ext:TextBox runat="server" ID="tb_PInfo_CH" Label="串号" Width="200px" MaxLength="100">
                        </ext:TextBox>
                        <ext:NumberBox runat="server" ID="tb_PInfo_Price" Label="零售价" Width="200px" MaxLength="10"
                            DecimalPrecision="2">
                        </ext:NumberBox>
  
                       
                        <ext:NumberBox runat="server" ID="tb_PInfo_Cost" Label="成本价" Width="200px" MaxLength="10"
                            DecimalPrecision="2">
                        </ext:NumberBox> 
                        <ext:TextArea runat="server" ID="tb_PInfo_Memo" Label="备注" MaxLength="2000">
                        </ext:TextArea>
                    </Items>
                </ext:SimpleForm>
            </Items>
        </ext:Panel>
    </div>
    <ext:Window runat="server" ID="win_Content" IsModal="true" EnableDrag="true" EnableClose="true"
        Height="120px" Width="332px" Hidden="true" Layout="Column" EnableIFrame="true"
        Title="请输入查询密码">
        <Items>
            <ext:Form runat="server" ID="SimpleForm2" EnableBackgroundColor="true" BodyPadding="5px" ShowHeader=false Height="80px">
               <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" ID="tb_Pwd" Width="200px" Label="密码">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow  >
                        <Items>
                           <ext:ToolbarSeparator></ext:ToolbarSeparator>
                           <ext:ToolbarSeparator></ext:ToolbarSeparator>
                            <ext:Button runat="server" ID="tb_OK" Text="确定" OnClick="tb_OK_Click">
                            </ext:Button>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
    </ext:Window>
    </form>
</body>
</html>
